package com.todod.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author dyl
 * @date 2022-10-05
 */
@TableName("LTCLOUD_ZSGL_DB_DEV.data_dictory_catalog")
public class DataDictoryCatalog {

	/** 主键 */
	@TableId("dm_pk_id")
	private Long id;
	/** 项目id */
	@TableField("dm_xm_id")
	private Long xmId;
	/** 名称 */
	@TableField("dm_name")
	private String name;
	/** 父id */
	@TableField("dm_parent_id")
	private Long parentId;
	/** 排序号 */
	@TableField("dm_sort_num")
	private Integer sortNum;
	/** 创建用户id */
	@TableField("dm_createuser_id")
	private Long createuserId;
	/** 创建时间 */
	@TableField("dm_createtime_ti")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createtimeTi;
	/** 修改用户名id */
	@TableField("dm_modifyuser_id")
	private Long modifyuserId;
	/** 修改时间 */
	@TableField("dm_modifytime_ti")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifytimeTi;

	@TableField(exist = false) // 表示该属性在数据表里不存在
	private String flag; // 创建人姓名

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getXmId() {
		return xmId;
	}

	public void setXmId(Long xmId) {
		this.xmId = xmId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public Long getCreateuserId() {
		return createuserId;
	}

	public void setCreateuserId(Long createuserId) {
		this.createuserId = createuserId;
	}

	public LocalDateTime getCreatetimeTi() {
		return createtimeTi;
	}

	public void setCreatetimeTi(LocalDateTime createtimeTi) {
		this.createtimeTi = createtimeTi;
	}

	public Long getModifyuserId() {
		return modifyuserId;
	}

	public void setModifyuserId(Long modifyuserId) {
		this.modifyuserId = modifyuserId;
	}

	public LocalDateTime getModifytimeTi() {
		return modifytimeTi;
	}

	public void setModifytimeTi(LocalDateTime modifytimeTi) {
		this.modifytimeTi = modifytimeTi;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

}
